package com.ronghui.cash.parambean;

import com.ronghui.cash.util.Validator;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

public class MobileAndPassword {
    @NotNull(message="手机号不能为空")
    @Pattern(regexp= Validator.REGEX_MOBILE,message="手机号格式错误")
    private String mobile;

    @NotNull(message="密码不能为空")
    @Pattern(regexp=Validator.REGEX_PASSWORD,message="密码格式错误")
    private String password;
    
    private String rememberMe;
    
	public String getRememberMe() {
		return rememberMe;
	}

	public void setRememberMe(String rememberMe) {
		this.rememberMe = rememberMe;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
